package com.deer.wms.base.system.service;

import com.deer.wms.base.system.model.SubinventoryTransferRecord;
import com.deer.wms.base.system.model.SubinventoryTransferRecordCriteria;
import com.deer.wms.base.system.model.SubinventoryTransferRecordDto;
import com.deer.wms.common.core.service.Service;

import java.util.List;


/**
 * Created by  on 2019/10/31.
 */
public interface SubinventoryTransferRecordService extends Service<SubinventoryTransferRecord, Integer> {
    //根据条件查询转库信息
    List<SubinventoryTransferRecordDto> findList(SubinventoryTransferRecordCriteria criteria);
    /**
     * 根据ID查询
     * @param transferId
     * @return
     */
    SubinventoryTransferRecord findTransferRecordBytransferId(Integer transferId);

    /**
     * 根据ID删除单行
     * @param transferId
     * @return
     */
    int delectTransferRecordByTransferId(Integer transferId);

    /**
     * 批量删除
     * @param transferIds
     * @return
     */
    int delectTransferRecordByTransferIds( String transferIds);

    /**
     * 修改
     * @param SubinventoryTransferRecord
     * @return
     */
    int UpdateTransferRecord(SubinventoryTransferRecord SubinventoryTransferRecord);

    /**
     * 新增
     * @param SubinventoryTransferRecord
     */
    int SaveTransferRecord(SubinventoryTransferRecord SubinventoryTransferRecord);
    /**
     *
     * 查询出库记录
     *
     * @return
     */
    public List<SubinventoryTransferRecord> selectSubinventoryTransferRecordList(SubinventoryTransferRecord subinventoryTransferRecord);
}
